import request from '@/utils/request'

// 查询项目预约单列表
export function findProjectOrderList(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminProjectOrderProjectProvider/1.0.0/findProjectOrderList.html',
    method: 'post',
    data: query
  })
}
//详情
export function findProjectOrderProjectByOrderSn(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminProjectOrderProjectProvider/1.0.0/findProjectOrderProjectByOrderSn.html',
      method: 'post',
      data: query
    })
}
//团队关系调整
export function updateTeamRelationship(query) {
    return request({
      url: '/com.mmk.member.api.AdminUserRecommendProvider/1.0.0/updateTeamRelationship.html',
      method: 'post',
      data: query
    })
}
//关闭预约
export function closeProjectOrderProjectByOrderSn(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminProjectOrderProjectProvider/1.0.0/closeProjectOrderProjectByOrderSn.html',
      method: 'post',
      data: query
    })
}
// 预约单编辑
export function updateProjectOrderProjectUpdateByOrderSn(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminProjectOrderProjectProvider/1.0.0/updateProjectOrderProjectUpdateByOrderSn.html',
      method: 'post',
      data: query
    })
}
